package com.yunhuakeji.wddx.utils;

public class Jurisdiction
{
	public boolean check(String userid, String ticket)
	{
		return false;
	}

	public boolean checkLogin(String userid, String ticket)
	{
		try
		{
			return MD5.getMD5("yunhua" + userid + new DBHelper3().select("select password from userinfo where userid=?", new String[]
			{
				userid
			}).get(0).get("password")).equals(ticket);
		} catch (Exception e)
		{
			return false;
		}
	}
}
